package com.yaopaikeji.model;

import java.util.Date;
import java.util.List;

public class User extends BaseModel{

    private String loginId;//登陆id
    private String pass;//密码
    private String name;//姓名
    private String email;//邮箱
    private String phone;//电话
    private RoleInfo roleInfo;//角色
    private Integer isActive;//是否激活 0未激活 1已激活
    private Date lastModifiedTime;//最后修改时间
    private Date lastLoginTime;//最后登陆时间

    private List<EmailGroupInfo> oweToEmailGroups;

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public RoleInfo getRoleInfo() {
        return roleInfo;
    }

    public void setRoleInfo(RoleInfo roleInfo) {
        this.roleInfo = roleInfo;
    }

    public Integer getIsActive() {
        return isActive;
    }

    public void setIsActive(Integer isActive) {
        this.isActive = isActive;
    }

    public Date getLastModifiedTime() {
        return lastModifiedTime;
    }

    public void setLastModifiedTime(Date lastModifiedTime) {
        this.lastModifiedTime = lastModifiedTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public List<EmailGroupInfo> getOweToEmailGroups() {
        return oweToEmailGroups;
    }

    public void setOweToEmailGroups(List<EmailGroupInfo> oweToEmailGroups) {
        this.oweToEmailGroups = oweToEmailGroups;
    }
}
